Skip to content

Simplia TemplatesTemplate Documentation

Complete guide to building templates for Simplia e-shop

For AI Agents

This documentation is optimized for machine consumption. The following resources are available for AI agents:

  • llms.txt — documentation index in LLM-friendly format
  • llms-full.txt — complete documentation in a single file for LLM consumption
  • Glossary — Czech-to-English mapping of all code identifiers (filenames, variables, URL paths, filters)

Key Concepts

  • Templates use Twital — a Twig syntax extension that adds custom XML elements
  • The i: prefix denotes Simplia components (<i:img>, <i:list-container>, <i:facebook-share>, ...)
  • Template files have the .tpl extension and follow the directory structure described in File Structure
  • Central template configuration is in config.json (see Configuration)

Template Development Workflow

  1. Connect via SFTP to the development environment (see SFTP)
  2. Edit templates in your editor with SFTP upload
  3. Preview changes on tpltest (test version of the template)
  4. Publish via the e-shop admin interface